// 自动生成模板BcAgency
package bc

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
)

// bcAgency表 结构体  BcAgency
type BcAgency struct {
	global.GVA_MODEL
	AgencyPrice   float64 `json:"agencyPrice" form:"agencyPrice" gorm:"column:agency_price;comment:代理单价;size:10;"`       //代理单价
	CodeType      string  `json:"codeType" form:"codeType" gorm:"column:code_type;comment:取码类型;size:255;"`               //取码类型
	Count         int     `json:"count" form:"count" gorm:"column:count;comment:数量;size:10;"`                            //数量
	Price         float64 `json:"price" form:"price" gorm:"column:price;comment:用户价格;size:10;"`                          //用户价格
	ProjectId     int     `json:"projectId" form:"projectId" gorm:"column:project_id;comment:项目;size:255;"`              //项目
	ProjectName   string  `json:"projectName" form:"projectName" gorm:"column:project_name;comment:项目名称;size:255;"`      //项目名称
	SettleOffice  string  `json:"settleOffice" form:"settleOffice" gorm:"column:settle_office;comment:所属;size:255;"`     //所属
	Status        int     `json:"status" form:"status" gorm:"column:status;comment:利润结算状态;size:255;"`                    //利润结算状态
	SysUserName   string  `json:"sysUserName" form:"sysUserName" gorm:"column:sys_user_name;comment:用户名;size:255;"`      //用户名
	SuperiorsName string  `json:"superiorsName" form:"superiorsName" gorm:"column:superiors_name;comment:用户名;size:255;"` //用户名
}

// TableName bcAgency表 BcAgency自定义表名 bc_agency
func (BcAgency) TableName() string {
	return "bc_agency"
}
